package com.Web.Service;

import com.Web.Person.Teacher;
import com.Web.util.PageInfo;

import java.util.List;

public interface ITeacherService {

    PageInfo<Teacher> selectByPage(Integer pageNo, Integer pageSize);

    List<Teacher> selectAll();

    void deleteById(int i);

    void add(Teacher teacher);

    Teacher toUpDate(int id);

    void update(Teacher teacher);
}
